Expand description
nybble
nybble
is a helper crate to split byte vectors into nybbles
and combine them back.
Enums
- The order of nybbles in a byte.
Functions
- Makes a byte from the high and low nybbles, with the high nybble specified first.
- Make a new byte array from
data
by combining adjacent bytes representing the high and low nybbles of each byte. Theorder
argument determines which one comes first. - Gets the high nybble from a byte.
- Gets the low nybble from a byte.
- Gets the high and low nybble of a byte as a tuple, with the high nybble first.
- Make a new byte array from
data
with the bytes split into high and low nybbles. Theorder
argument determines which one comes first.